from selenium import webdriver
from selenium.webdriver.chrome.service import Service
# # 2、方式2：指定 Chrome 浏览器位置：test_cases_webtours 参数
chrome_location = r'D:\guuuuu\chrome-win\chrome.exe'
options = webdriver.ChromeOptions()
options.binary_location = chrome_location

driver_location = r'D:\新建文件夹 (3)\chromedriver.exe'
service = Service(driver_location)